#include "mainscene.h"
#include "config.h"
#include "widget.h"
#include <QApplication>
#include <QSplashScreen>
#include <QPixmap>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QSplashScreen *Splash = new QSplashScreen;
    Splash->setPixmap(QPixmap("://res/welcome1.png"));
    Splash->show();
    for(int i=0;i<3000;i++)
        Splash->repaint();
    Splash->close();
    Widget w;
    w.show();

    return a.exec();
}
